﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HaiFengShop.Entity
{
    public class DTO_UpdateGoodsData
    {
        public DTO_UpdateGoodsInfoData info { get; set; }
        public DTO_UpdateSepcInfoData[] specData { get; set; }
        public int specValue { get; set; }
        public int cateId { get; set; }
    }

    public class DTO_UpdateGoodsInfoData {
        public int id { get; set; }
        public int category_id { get; set; }
        public string is_on_sale { get; set; }
        public string name { get; set; }
        public int goods_number { get; set; }
        public int sell_volume { get; set; }
        public string keywords { get; set; }
        public string retail_price { get; set; }
        public int min_retail_price { get; set; }
        public string cost_price { get; set; }
        public int min_cost_price { get; set; }
        public string goods_brief { get; set; }
        public string goods_desc { get; set; }
        public int sort_order { get; set; }
        public int is_index { get; set; }
        public bool is_new { get; set; }
        public string  goods_unit { get; set; }
        public string  https_pic_url { get; set; }
        public string  list_pic_url { get; set; }
        public int freight_template_id { get; set; }
        public int freight_type { get; set; }
        public int is_delete { get; set; }
        public int has_gallery { get; set; }
        public int has_done { get; set; }
    }

    public class DTO_UpdateSepcInfoData {
        public int id { get; set; }
        public int goods_id { get; set; }
        public string  goods_specification_ids { get; set; }
        public string  goods_sn { get; set; }
        public int goods_number { get; set; }
        public int retail_price { get; set; }
        public int cost { get; set; }
        public int goods_weight { get; set; }
        public int has_change { get; set; }
        public string  goods_name { get; set; }
        public int is_on_sale { get; set; }
        public int is_delete { get; set; }
        public string  value { get; set; }
    }

}
